package com.belazy.auto.configure.service;

import java.io.InputStream;

/**
 * 阿里云OCR
 * @author tangcp
 */
public interface IOrcService {
    /**
     * 身份证识别
     * @param body
     * @return
     */
    String recognizeIdCard(InputStream body);

    /**
     * 银行卡
     * @param body
     * @return
     */
    String recognizeBankCard(InputStream body);

    /**
     * 营业执照
     * @param body
     * @return
     */
    String recognizeBusinessLicense(InputStream body);

    /**
     * 车辆合格证
     * @param body
     * @return
     */
    String recognizeVehicleCertification(InputStream body);

    /**
     * 驾驶证
     * @param body
     * @return
     */
    String recognizeDrivingLicense(InputStream body);

    /**
     * ocr车辆登记
     * @param body
     * @return
     */
    String recognizeVehicleRegistration(InputStream body);

    /**
     * ocr识别VIN码
     * @param body
     * @return
     */
    String recognizeCarVinCode(InputStream body);

    /**
     * 发票识别
     * @param body
     * @return
     */
    String recognizeInvoice(InputStream body);

    /**
     * 机动车销售统一发票
     * @param body
     * @return
     */
    String recognizeCarInvoice(InputStream body);

    /**
     * 二手车销售统一发票
     * @param body
     * @return
     */
    String recognizeUsedCarInvoice(InputStream body);
}
